package com.ruoyi.ini.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 事件对象 xlkj_ini
 *
 * @author wang
 * @date 2022-02-08
 */
public class XlkjIni extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 语音 */
    private String audio;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 描述 */
    @Excel(name = "描述")
    private String content;

    /** 地点 */
    @Excel(name = "地点")
    private String address;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String type;

    /** 突出问题 */
    @Excel(name = "突出问题")
    private String questionType;

    /** 风险等级 */
    @Excel(name = "风险等级")
    private String riskType;

    /** 所属网格 */
    @Excel(name = "所属网格")
    private String departmentId;

    /**
     * 所属网格（名称）
     */
    @Transient
    private String departmentName;

    /** 网格员 */
    @Excel(name = "网格员")
    private Long userId;

    /** 预计完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    /** 办理状态 */
    @Excel(name = "办理状态")
    private String status;

    /** 是否需要协助 */
    @Excel(name = "是否需要协助")
    private String assist;

    /** 协助部门 */
    @Excel(name = "协助部门")
    private String assistDepartment;

    /**
     * 协助部门（名称）
     */
    @Transient
    private String assistDepartmentName;

    /** 协助意见 */
    @Excel(name = "协助意见")
    private String assistRemark;

    /** 是否需要督办 */
    @Excel(name = "是否需要督办")
    private String superviseStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String examineRemark;

    /**
     * 电话号码
     */
    @Transient
    private String phone;

    /**
     * 用户名
     * @return
     */
    @Transient
    private String username;

    @Transient
    private String departmentList;

    @Transient
    private String sss;

    @Transient
    private String aaa;

    /**
     * 是否需该用户协助
     */
    @Transient
    private Boolean userHelp;

    /**
     * 是否需要该用户督办
     */
    @Transient
    private Boolean userSupervise;

    @Transient
    private Long roleId;

    /**
     * 网格员电话
     */
    @Transient
    private String userPhone;

    /**
     * 网格员名字
     */
    @Transient
    private String userName;

    /**
     * 网格长电话
     * @return
     */
    @Transient
    private String managePhone;

    /**
     * 网格长名字
     */
    @Transient
    private String manageName;

    /**
     * 协管员电话
     * @return
     */
    @Transient
    private String xiePhone;

    /**
     * 协管员名字
     */
    @Transient
    private String xieName;

    /**
     * 是否立即进行督办
     */
    @Transient
    private String immediately;

    @Transient
    private String opinionNull;

    public String getAudio() {
        return audio;
    }

    public void setAudio(String audio) {
        this.audio = audio;
    }

    public String getAssistDepartmentName() {
        return assistDepartmentName;
    }

    public void setAssistDepartmentName(String assistDepartmentName) {
        this.assistDepartmentName = assistDepartmentName;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Boolean getUserSupervise() {
        return userSupervise;
    }

    public void setUserSupervise(Boolean userSupervise) {
        this.userSupervise = userSupervise;
    }

    public String getOpinionNull() {
        return opinionNull;
    }

    public void setOpinionNull(String opinionNull) {
        this.opinionNull = opinionNull;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getManageName() {
        return manageName;
    }

    public void setManageName(String manageName) {
        this.manageName = manageName;
    }

    public String getXieName() {
        return xieName;
    }

    public void setXieName(String xieName) {
        this.xieName = xieName;
    }

    public String getImmediately() {
        return immediately;
    }

    public void setImmediately(String immediately) {
        this.immediately = immediately;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getManagePhone() {
        return managePhone;
    }

    public void setManagePhone(String managePhone) {
        this.managePhone = managePhone;
    }

    public String getXiePhone() {
        return xiePhone;
    }

    public void setXiePhone(String xiePhone) {
        this.xiePhone = xiePhone;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Boolean getUserHelp() {
        return userHelp;
    }

    public void setUserHelp(Boolean userHelp) {
        this.userHelp = userHelp;
    }

    public String getAaa() {
        return aaa;
    }

    public void setAaa(String aaa) {
        this.aaa = aaa;
    }

    public String getSss() {
        return sss;
    }

    public void setSss(String sss) {
        this.sss = sss;
    }

    public String getDepartmentList() {
        return departmentList;
    }

    public void setDepartmentList(String departmentList) {
        this.departmentList = departmentList;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setQuestionType(String questionType)
    {
        this.questionType = questionType;
    }

    public String getQuestionType()
    {
        return questionType;
    }
    public void setRiskType(String riskType)
    {
        this.riskType = riskType;
    }

    public String getRiskType()
    {
        return riskType;
    }
    public void setDepartmentId(String departmentId)
    {
        this.departmentId = departmentId;
    }

    public String getDepartmentId()
    {
        return departmentId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setFinishTime(Date finishTime)
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime()
    {
        return finishTime;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setAssist(String assist)
    {
        this.assist = assist;
    }

    public String getAssist()
    {
        return assist;
    }
    public void setAssistDepartment(String assistDepartment)
    {
        this.assistDepartment = assistDepartment;
    }

    public String getAssistDepartment()
    {
        return assistDepartment;
    }
    public void setAssistRemark(String assistRemark)
    {
        this.assistRemark = assistRemark;
    }

    public String getAssistRemark()
    {
        return assistRemark;
    }
    public void setSuperviseStatus(String superviseStatus)
    {
        this.superviseStatus = superviseStatus;
    }

    public String getSuperviseStatus()
    {
        return superviseStatus;
    }
    public void setExamineRemark(String examineRemark)
    {
        this.examineRemark = examineRemark;
    }

    public String getExamineRemark()
    {
        return examineRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("audio",getAudio())
            .append("img", getImg())
            .append("title", getTitle())
            .append("content", getContent())
            .append("address", getAddress())
            .append("type", getType())
            .append("questionType", getQuestionType())
            .append("riskType", getRiskType())
            .append("departmentId", getDepartmentId())
            .append("userId", getUserId())
            .append("finishTime", getFinishTime())
            .append("status", getStatus())
            .append("assist", getAssist())
            .append("assistDepartment", getAssistDepartment())
            .append("assistRemark", getAssistRemark())
            .append("superviseStatus", getSuperviseStatus())
            .append("examineRemark", getExamineRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
